﻿using System;
using System.Collections;

namespace HttpModuleAccessControl
{
    public class Permission
    {
        /// <summary>
        /// Default constructor, do nothing
        /// </summary>
        public Permission ()
        {}


        private int _PermissionID;

        //
        public int PermissionID
        {
            get { return _PermissionID; }
            set { _PermissionID = value; }
        }


        private string _PermissionName;

        //
        public string PermissionName
        {
            get { return _PermissionName; }
            set { _PermissionName = value; }
        }


        private int _ParentID;

        //
        public int ParentID
        {
            get { return _ParentID; }
            set { _ParentID = value; }
        }

        private string _WebPageName;

        //
        public string WebPageName
        {
            get { return _WebPageName; }
            set { _WebPageName = value; }
        }

        private bool _Writable;

        /// <summary>
        /// Future use. Useless in this version.
        /// </summary>
        public bool Writable
        {
            get { return _Writable; }
            set { _Writable = value; }
        }
  
    }
  
}
